package code.part02_objectOriented;

/**
 * @author: ZJT
 * @Time: 2021/7/8
 * @Description: final
 */
public final class P05_Final {

    public final String name = "zhangsan";

    public final void run() {
        System.out.println("final run");

    }


    public static final int age = 10;

    public static void main(String[] args) {
//        age = 20;//Cannot assign a value to final variable 'age'
    }
}
